package com.show.dao.draw_time;


import com.show.dto.draw_time.DrawTime;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

/**
 * drawTimeDao
 *
 * @author 姜文
 * @Param
 * @date 2018年3月9日, AM 08:59:04
 */
public interface DrawTimeRepositoty extends JpaRepository<DrawTime, String>, JpaSpecificationExecutor<DrawTime>, PagingAndSortingRepository<DrawTime, String> {

    DrawTime findByEventIdAndEventLinkOrderByDrawTime(String eventId, String eventLink);

}
